package com.lz.spring.cloud.study.service;

import com.alibaba.csp.sentinel.slots.block.BlockException;

/**
 * @description:
 * @author: likejian
 * @date: 2019.01.03 15:31
 */
public final class ExceptionUtil {

    public static void handleException(BlockException ex) {
        System.out.println("Oops: " + ex.getClass().getCanonicalName());
    }
}